package 面向对象高级.例子1;

public class 正方形 extends 图形{// altenter

    private  int a;//边长//getter setter
    @Override
    public int getArea() {
        return a*a;//边长*边长
    }
}
